<template>
  <div className="count">
    <div className="countTop">行为决策实验平台</div>
    <div className="countMain">
      <div className="mainPic">
        <img src="@/assets/end.png" alt=""/>
      </div>
      <div className="mainTime">感谢您的使用，实验结束！</div>
    </div>
  </div>
</template>

<script>
export default {
  // eslint-disable-next-line
  name: 'End',
  data() {
    return {
      time: 0
    }
  },
  mounted() {
  this.created()

  },
  watch: {
    // eslint-disable-next-line

  },
  methods: {
    created() {
      history.pushState(null, null, document.URL);
      window.addEventListener("popstate", function () {
        history.pushState(null, null, document.URL);
      });
    },
  }
}
</script>

<style lang="scss" scoped>
.count {
  height: 100%;
  width: 100%;

  .countTop {
    height: 10%;
    font-size: 58px;
    letter-spacing: 10px;
    font-weight: 700;
    color: aliceblue;
    background-color: #0b45b0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .countMain {
    height: 90%;

    .mainPic {
      display: flex;
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
    }

    .mainTime {
      width: 100%;
      position: absolute;
      display: flex;
      justify-content: center;
      align-items: center;
      bottom: 8%;
      font-size: 38px;
    }
  }
}
</style>